﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SportsPlatform.Dto.PermissionManagement.DepartmentInfo
{
    public  class GetDepartmentInfoTreeDto
    {
        /// <summary>
        /// Id
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 部门或下级名称
        /// </summary>
        public string DepartmentName { get; set; }

        /// <summary>
        /// 部门描述
        /// </summary>
        public string DepartmentDescribe { get; set; }

        /// <summary>
        /// 部门级别字符串
        /// </summary>
        public string DepartmentLevel { get; set; }

        /// <summary>
        /// 父级主键Id
        /// </summary>
        public Guid ParentId { get; set; }

        /// <summary>
        /// 树状List
        /// </summary>
        public List<GetDepartmentInfoTreeDto> DepartmenList { get; set; }

        /// <summary>
        /// 排序号
        /// </summary>
        public int DepartmentSeq { get; set; }

        /// <summary>
        /// 公司Id
        /// </summary>
        public Guid CompanyId { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public Guid UserId { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool States { get; set; }

        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 更改时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
    }
}
